package com.example.petadoption.Repository;

import com.example.petadoption.Entity.AdoptionApplication;
import com.example.petadoption.Entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdoptionApplicationRepository extends JpaRepository<AdoptionApplication, Long> {
    List<AdoptionApplication> findByUser(User user);
}
